﻿using Abp.Application.Services.Dto;
using System;
using System.Collections.Generic;
using System.Text;

namespace SportsPlatform.Dto.SportBusiness.Employee
{
    /// <summary>
    /// 用户管理Dto
    /// </summary>
    public class EmployeeDto : EntityDto<Guid>
    {
        /// <summary>
        /// 微信昵称
        /// </summary>
        public string NickName { get; set; }

        /// <summary>
        /// 头像
        /// </summary>
        public string HeadPortrait { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string RealName { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public int Sex { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 身份证号码
        /// </summary>
        public string IDNumber { get; set; }

        /// <summary>
        /// 注册时间
        /// </summary>
        public string RegisterTime { get; set; }

        /// <summary>
        /// 传感器
        /// </summary>
        public string Sensor { get; set; }

        /// <summary>
        /// 所属团队标识
        /// </summary>
        public Guid? TeamId { get; set; }

        /// <summary>
        /// 团队名称
        /// </summary>
        public string TeamName { get; set; }

        /// <summary>
        /// 所属团队集合
        /// </summary>
        public List<TeamItem> TeamList { get; set; }

        /// <summary>
        /// 微信openId
        /// </summary>
        public string OpenId { get; set; }

        /// <summary>
        /// 是否第一次登录
        /// </summary>
        public bool IsFirst { get; set; }
    }
    /// <summary>
    /// 团队集合
    /// </summary>
    public class TeamItem
    {
        /// <summary>
        /// 所属团队标识
        /// </summary>
        public Guid TeamId { get; set; }

        /// <summary>
        /// 团队名称
        /// </summary>
        public string TeamName { get; set; }
    }
}
